package com.example.graduationdesignbackend.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuze
 * @since 2024-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_order")
@ApiModel(value="ProductOrder对象", description="")
public class ProductOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    private String productId;

    private String userId;

    private String contacts;

    private String phone;

    private String productTitle;

    private Integer buyNumber;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    private String unit;

    private String intro;
    
    private Integer status;

    private Long createTime;
    
    private Long updateTime;


}
